package com.woniu.pojo;

import java.io.Serializable;

/**
 * interview
 * @author 
 */
public class Interview implements Serializable {
    private Integer viewId;

    private Integer studentId;

    private Integer empId;

    private Integer companyId;

    private String viewDetail;

    private String viewResult;

    private String viewRemark;

    private String viewSavvy;

    private static final long serialVersionUID = 1L;

    public Integer getViewId() {
        return viewId;
    }

    public void setViewId(Integer viewId) {
        this.viewId = viewId;
    }

    public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }

    public Integer getEmpId() {
        return empId;
    }

    public void setEmpId(Integer empId) {
        this.empId = empId;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getViewDetail() {
        return viewDetail;
    }

    public void setViewDetail(String viewDetail) {
        this.viewDetail = viewDetail;
    }

    public String getViewResult() {
        return viewResult;
    }

    public void setViewResult(String viewResult) {
        this.viewResult = viewResult;
    }

    public String getViewRemark() {
        return viewRemark;
    }

    public void setViewRemark(String viewRemark) {
        this.viewRemark = viewRemark;
    }

    public String getViewSavvy() {
        return viewSavvy;
    }

    public void setViewSavvy(String viewSavvy) {
        this.viewSavvy = viewSavvy;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Interview other = (Interview) that;
        return (this.getViewId() == null ? other.getViewId() == null : this.getViewId().equals(other.getViewId()))
            && (this.getStudentId() == null ? other.getStudentId() == null : this.getStudentId().equals(other.getStudentId()))
            && (this.getEmpId() == null ? other.getEmpId() == null : this.getEmpId().equals(other.getEmpId()))
            && (this.getCompanyId() == null ? other.getCompanyId() == null : this.getCompanyId().equals(other.getCompanyId()))
            && (this.getViewDetail() == null ? other.getViewDetail() == null : this.getViewDetail().equals(other.getViewDetail()))
            && (this.getViewResult() == null ? other.getViewResult() == null : this.getViewResult().equals(other.getViewResult()))
            && (this.getViewRemark() == null ? other.getViewRemark() == null : this.getViewRemark().equals(other.getViewRemark()))
            && (this.getViewSavvy() == null ? other.getViewSavvy() == null : this.getViewSavvy().equals(other.getViewSavvy()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getViewId() == null) ? 0 : getViewId().hashCode());
        result = prime * result + ((getStudentId() == null) ? 0 : getStudentId().hashCode());
        result = prime * result + ((getEmpId() == null) ? 0 : getEmpId().hashCode());
        result = prime * result + ((getCompanyId() == null) ? 0 : getCompanyId().hashCode());
        result = prime * result + ((getViewDetail() == null) ? 0 : getViewDetail().hashCode());
        result = prime * result + ((getViewResult() == null) ? 0 : getViewResult().hashCode());
        result = prime * result + ((getViewRemark() == null) ? 0 : getViewRemark().hashCode());
        result = prime * result + ((getViewSavvy() == null) ? 0 : getViewSavvy().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", viewId=").append(viewId);
        sb.append(", studentId=").append(studentId);
        sb.append(", empId=").append(empId);
        sb.append(", companyId=").append(companyId);
        sb.append(", viewDetail=").append(viewDetail);
        sb.append(", viewResult=").append(viewResult);
        sb.append(", viewRemark=").append(viewRemark);
        sb.append(", viewSavvy=").append(viewSavvy);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}